package com.jshan.blog.converts;

import com.jshan.blog.base.admin.dto.SysRoleResDto;
import com.jshan.blog.base.admin.entity.SysRole;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface RoleAndRoleDtoConvert {
    RoleAndRoleDtoConvert INSTANCE = Mappers.getMapper(RoleAndRoleDtoConvert.class);

    SysRole RoleDto2RoleConvert(SysRoleResDto sysRoleResDto);
}
